package com.hunktimes.exam.entity;

import java.math.BigDecimal;

/**
 * 商品
 */
public class Goods {
    /**
     * 商品名称
     */
    private String name;
    /**
     * 商品价格(元/斤)
     */
    private BigDecimal price;


    public Goods() {
    }

    public Goods(String name, BigDecimal price) {
        this.name = name;
        this.price = price;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }
}
